package com.xdtech.play.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.play.model.PlayStart;
import com.xdtech.play.vo.PlayStartItem;
import com.xdtech.web.model.ResultMessage;

/**
 * 
 * @author max.zheng
 * @create 2016-05-09 23:28:30
 * @since 1.0
 * @see
 */
public interface PlayStartService extends IBaseService<PlayStart>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2016-05-09 23:28:30
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdatePlayStart(PlayStartItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2016-05-09 23:28:30
	 * @modified by
	 * @param newId
	 * @return
	 */
	PlayStartItem loadPlayStartItem(Long playStartId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2016-05-09 23:28:30
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deletePlayStartInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2016-05-09 23:28:30
	 * @modified by
	 * @param playStartIds
	 */
	boolean deletePlayStartInfo(List<Long> playStartIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2016-05-09 23:28:30
	 * @modified by
	 * @return
	 */
	List<PlayStartItem> loadItems();

	ResultMessage saveStartInfo(PlayStartItem item);
}
